package com.imm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imm.common.Result;
import com.imm.dto.OrderDTO;
import com.imm.pojo.Order;

public interface IOrderService extends IService<Order> {
    Result<Page<OrderDTO>> pageOrder(int page, int pageSize, OrderDTO orderDTO);

    Result<Page> userPage(int page, int pageSize);

    Result<String> submit(Order order);

    Result<String> updateOrder(Order order);

    Result<String> again(OrderDTO orderDTO);
}
